package cn.silver.module.system.controller;


import cn.silver.framework.mybatis.controller.BaseController;
import cn.silver.module.system.bean.DeptUserBean;
import cn.silver.module.system.domain.SysDeptUser;
import cn.silver.module.system.param.DeptUserParam;
import cn.silver.module.system.service.ISysDeptUserService;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * 个人收藏信息Controller
 *
 * @author Silver.Zhou
 */

@RestController
@RequiredArgsConstructor
@Tag(name = "系统管理-部门人员关联信息")
@RequestMapping("/system/dept/user")
public class SysDeptUserController extends BaseController<ISysDeptUserService, SysDeptUser, DeptUserParam, DeptUserBean> {
    @Override
    @Resource
    public void setBaseService(ISysDeptUserService baseService) {
        this.setCode("system:dept");
        this.setTitle("系统管理-部门管理-用户信息");
        this.baseService = baseService;
    }
}
